package club.sdll.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {

	@RequestMapping("/index")
	@ResponseBody
	public String toIndex() {
		String name = "哈哈，springboot,我来了！！！index";
		System.out.println("name = " + name);
		return name;
	}
	
}
